package cn.common.goods.model;

import cn.common.common.model.BaseParms;
import io.swagger.annotations.ApiModelProperty;

public class BaseGoodsType extends BaseParms {
    @ApiModelProperty(value = "商品种类ID")
    private Integer id;
    @ApiModelProperty(value = "商品种类名称")
    private String name;
    @ApiModelProperty(value = "父级种类ID")
    private Integer fatherId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }
}